import {UserApi} from '@/api'
import globalAxios from "axios";

class UserService {
    private axiosInstance = globalAxios;
    private userApi = new UserApi(undefined, import.meta.env.VITE_API_URL, this.axiosInstance);

    getUserInfo(){
       return this.userApi.getUserInfo().then((response) => {
           return response
       });
    }

}

export const userService = new UserService()
